package com.jk.dmuserconsumer.service;

import com.jk.dmuserconsumer.entity.UserEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author 赵优秀
 * @version 1.0.0
 * @ClassName UserService.java
 * @Description TODO
 * @createTime 2021年08月30日 19:02:00
 */
@FeignClient("SPRINGCLOUD-PROVEDER")
@Component
public interface UserService {

    @PostMapping(value = "/test/findUser")
    List<UserEntity> findUser(@RequestBody UserEntity userEntity);
}
